package com.eh.observer.subject;

import com.eh.observer.observer.Observer;

/**
 * Created by David on 2016/4/23.
 */
public interface Subject {
    void registerObserver(Observer observer);

    void removeObserver(Observer observer);

    void notifyAllObservers();
}
